package cn.kgc.springcloud.client;

import cn.kgc.springcloud.entity.Tag;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author: mosin
 * @version: v1.0  2022/8/31
 */
@FeignClient("TAGSERVICE")
public interface TagClient {

    @GetMapping("/tags/{tagId}")
    public Tag findTagById(@PathVariable Integer tagId);
}
